#!/bin/bash -

# start pppoe-server with the following argvs
# 09/09/23 Wen
if [ `id -u` != 0 ]
then
	echo need to be root!
	exit 1
fi
#pserver=/sbin/pppoe-server
itface=wlan0
acname='SZ-YQ-E320-3'
lip=10.10.20.1
rip=10.10.20.50
pppoe-server -I $itface -C $acname -L $lip -R $rip
